package com.tuantuan.common.base.common;

/**
 * <p>
 * 业务异常状态码（枚举）
 * </p>
 *
 * @author: wangqinmin
 * @date : 2020/10/10
 * @description: 仰天大笑出门去，我辈岂是蓬蒿人
 */
public enum BusinessErrorCode implements IServerErrorCode {

    /**
     * 手机号重复.
     */
    UNIQUE_PHONE("business_1001", "手机号重复"),

    ;

    private String code;
    private String msg;

    BusinessErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
